//
//  DetailReadCell.m
//  BCProjectB
//
//  Created by lanou3g on 15/12/19.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import "DetailReadCell.h"
#import "UIImageView+WebCache.h"
#import "BCReadDetailModel.h"

@interface DetailReadCell()
@property (weak, nonatomic) IBOutlet UILabel *titileLable;
@property (weak, nonatomic) IBOutlet UIImageView *ContentImageView;
@property (weak, nonatomic) IBOutlet UILabel *contentLable;

@end
@implementation DetailReadCell

- (void)awakeFromNib {
    
}
-(void)upDataUIwith:(BCReadDetailModel *)model{
    if (!model) {
        return;
    }
    self.titileLable.text=model.title;
    self.contentLable.text=model.content;
    self.contentLable.numberOfLines=0;
    [self.ContentImageView sd_setImageWithURL:[NSURL URLWithString:model.coverimg] placeholderImage:[UIImage imageNamed:@"placeHolder.png"]];
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

}

@end
